<?php

class AppController extends Controller
{
    /**
     * Before Render
     */
//    'Acl',
//     var $components = array( 'Auth');
    function beforeRender()
    {
        unset($this->data['User']['password']);
        unset($this->data['User']['password_confirm']);
    }
	function beforeFilter()
	{
	$this->Auth->autoRedirect = false;
//                $this->Auth->authorize = 'actions';
//        $this->Auth->loginAction = array('controller' => 'users', 'action' => 'login');
//        $this->Auth->logoutRedirect = array('controller' => 'users', 'action' => 'login');
//        $this->Auth->loginRedirect = array('controller' => 'notes', 'action' => 'index');
	}
        

}
?>